package com.webservicedemo.config;

import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.spring.scope.RequestContextFilter;

public class JerserResourceRegistConfig extends ResourceConfig{
    public JerserResourceRegistConfig(){
    	//注册请求的上下文文件
    	register(RequestContextFilter.class);
    	//哪些包下面需要jersey扫描
    	packages("com.webservicedemo");
    }
}
